package com.ruoyi.common.enums;

/**
 * 书籍归还状态
 *
 * @author ruoyi
 *
 */
public enum BookReturnStatus
{
    /**
     * 成功
     */
    FAIL("0", "未归还"),

    /**
     * 失败
     */
    SUCCESS("1","已归还"),


    /**
     * 已逾期
     */
    EXPIRE("2","已逾期"),
    ALL("3","全部")
    ;


    private final String code;
    private final String info;


    BookReturnStatus(String code, String info) {

        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return this.code;
    }

    public String getInfo() {
        return this.info;
    }
}
